package com.zhang.admin.service.impl;

import com.zhang.admin.dao.SysLogMapper;
import com.zhang.admin.service.LogService;
import com.zhang.common.core.po.admin.SysLog;
import com.zhang.common.core.util.UserUtil;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author zsw
 * @Date 2019/11/9 23:02
 * @Version V1.0
 **/
@Service
@AllArgsConstructor
public class LogServiceImpl implements LogService {
    private final SysLogMapper sysLogMapper;

    @Override
    public void saveSysLog(SysLog sysLog) {
        sysLogMapper.insertSelective(sysLog);
    }
}